home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / COMPILER / GUAVAC / !Guavac / doc / ChangeLog < prev    next >
Text File  |  1997-11-10  |  17KB  |  471 lines

  1. Sun Nov  9 16:28:37 1997  David Engberg  <geppetto@allegory.eecs.com>
  2.  
  3.     * Finished changes for 1.1 inner classes support.  Some parts are
  4.     left out for now since they break LALR pretty seriously, but these
  5.     can be integrated in the future.
  6.  
  7. Sun Sep  7 15:37:18 1997  David Engberg  <geppetto@allegory.eecs.com>
  8.  
  9.     * common/FilePath.C, compiler/CompilerMain.C: OS/2 support from
  10.     Mikael Ståldal (d96-mst@nada.kth.se)
  11.  
  12. Fri Jun 13 10:41:36 1997  David Engberg  <geppetto@allegory.eecs.com>
  13.  
  14.     * common/JavaTypeSignature.C: Make 'char' an ordinal type.
  15.     (Daniel Collins <d.w.collins@ic.ac.uk>)
  16.  
  17. Thu May  8 09:19:44 1997  David Engberg  <geppetto@allegory.eecs.com>
  18.  
  19.     * common/JavaClassFile.C: Emit ACC_SUPER flag with classes.
  20.  
  21. Wed May  7 15:12:46 1997  David Engberg  <geppetto@allegory.eecs.com>
  22.  
  23.     * common/JavaMethodInfo.C, etc.: Support for @deprecated tag.
  24.  
  25. Mon Apr 28 11:25:51 1997  David Engberg  <geppetto@allegory.eecs.com>
  26.  
  27.     * Makefile.in: Removed dependency on 'install' -d flag, replaced it
  28.     with explicit mkdir call.  (Andrew Myers <andru@tonic.lcs.mit.edu>)
  29.  
  30.     * configure.in: Patch for CFLAGS to make it easier to compile with
  31.     optimizations on.  (Erik Troan <ewt@redhat.com>)
  32.  
  33. Tue Mar 25 17:13:05 1997  David Engberg  <geppetto@allegory.eecs.com>
  34.  
  35.     * common/FilePath.C (ListDirectoryContents): Fix to close directory.
  36.  
  37. Wed Mar  5 21:38:46 1997  David Engberg  <geppetto@allegory.eecs.com>
  38.  
  39.     * doc/Makefile.in (stamp-vti): Fixed texinfo-clobbering bug.
  40.  
  41. Mon Mar  3 09:08:14 1997  David Engberg  <geppetto@allegory.eecs.com>
  42.  
  43.     * Makefile.in: config changes from
  44.     Lars Raeder Clausen <elascurn@daimi.aau.dk>
  45.  
  46. Sun Mar  2 10:43:04 1997  David Engberg  <geppetto@allegory.eecs.com>
  47.  
  48.     * Makefile.in, etc:  Many changes to makefiles and configuration stuff.
  49.     Thanks to Stig (stig@hackvan.com)
  50.  
  51. Mon Sep 23 10:08:18 1996  David Engberg  <geppetto@allegory.eecs.com>
  52.  
  53.     * common/FilePath.C: Changes to support NeXT
  54.  
  55. Wed Aug 21 22:44:53 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  56.  
  57.     * common/JavaCodeAttribute.C: Improve guavad output.
  58.  
  59. Mon Aug  5 11:22:18 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  60.  
  61.     * common/Makefile.in: Added VPATH entry.
  62.  
  63. Fri Aug  2 19:53:52 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  64.  
  65.     * Makefile.in: Change the name of 'disassemble' to 'guavad'
  66.  
  67. Sat Jun 29 22:37:06 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  68.  
  69.     * compiler/Compiler.C: Prevent overriding a method as more private.
  70.  
  71.         * Release 0.2.3
  72.  
  73. Sat Jun 29 13:54:49 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  74.  
  75.     * compiler/Compiler.C: Added support for .zip files.
  76.  
  77. Mon Jul 15 06:58:25 1996  Jim Thompson  <jct@ris2_u02>
  78.  
  79.     * compiler/CompilerMain.C (main): Add check for -M argument; if
  80.     it's present, print to cout the name of each file "compiled" and
  81.     the list of dependencies for each, in a makefile-like list.  On
  82.     -M, don't generate the .class file.
  83.  
  84.     * compiler/Compiler.C (CompileFile): Add dependencies argument so
  85.     CompileFile can pass back to caller the list of imported files
  86.     encountered during compiling.
  87.     (ImportOneClassPath): Add the name of each successfully-loaded
  88.     classFile to the list of dependencies.
  89.  
  90.     * compiler/Compiler.h: add dependencies deque data member -- a
  91.     record of the names of all files imported in the course of
  92.     compiling.
  93.  
  94. Thu Jun 13 12:29:29 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  95.  
  96.     * compiler/Compiler.C: Fix for seg fault on bad source-file imports.
  97.  
  98. Mon Jun  3 17:52:07 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  99.  
  100.     * compiler/Compiler.C: Fix for bad field types.
  101.     Fix to catch classes in the wrong directory.
  102.  
  103. Thu May 30 10:51:08 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  104.  
  105.     * samples/Compiler.C: Report errors with invalid types in method
  106.     signatures.
  107.  
  108.     * compiler/Statement.C: Fix so errors within a 'while' block are seen.
  109.  
  110. Sat May 25 17:12:37 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  111.  
  112.     * Release 0.2.2
  113.  
  114.     * Rewrote installation to work correctly.
  115.  
  116. Thu May 23 19:43:42 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  117.  
  118.     * compiler/Compiler.C: Fix for importing the same class twice.
  119.     Added support for compiling a file against other source files which
  120.     haven't been compiled to .class files.
  121.  
  122. Tue May 14 11:32:05 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  123.  
  124.     * compiler/Expression.C: Fix for (null instanceof X).
  125.     Fix for casting and instanceof interfaces.
  126.  
  127. Mon May 13 14:42:31 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  128.  
  129.     * compiler/Compiler.C: Fix for final string literal fields.
  130.  
  131. Mon May  6 15:05:44 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  132.  
  133.     * compiler/Compiler.C: Report an error for invalid flags to interface
  134.     method.
  135.     Mark interface methods as abstract.
  136.     Report an error for classes that are not abstract, but fail to
  137.     implement some abstract methods.
  138.  
  139. Fri May  3 16:01:31 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  140.  
  141.     * Release 0.2.1
  142.  
  143. Wed May  1 18:32:17 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  144.  
  145.     * compiler/CodeSequence.C: Fixed a major portability bug in code
  146.     generation going from iload -> iload_n, etc.
  147.  
  148. Sun Apr 28 16:57:58 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  149.  
  150.     * compiler/Expression.C: Fix for static-field access through values.
  151.  
  152.     * common/JavaClassFile.C: Fix for byte-order of longs on bigendian
  153.     systems.
  154.  
  155. Fri Apr 26 12:02:30 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  156.  
  157.     * compiler/BinaryExpression.C: Compatibility fix to handle string
  158.     concatenation with character arrays like javac does.
  159.  
  160.     * compiler/parser.y: Added an error message for assigning array
  161.     initializer to non-array variable.
  162.  
  163.     * common/JavaCodeAttribute.C: Fix to correctly print negative cases.
  164.  
  165.     * compiler/Statement.C: Fix to handle negative case labels.
  166.  
  167. Thu Apr 25 11:32:59 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  168.  
  169.     * Release 0.2
  170.  
  171.     * compiler/Compiler.C: Fix for casts from base-type arrays to Object.
  172.  
  173.     * compiler/CodeSequence.C: Added a basic peephole optimizer.
  174.  
  175.     * compiler/Statement.C: Fix for control flow through try blocks.
  176.     Fix to handle while(true){} and while(false){} as special cases.
  177.  
  178. Wed Apr 24 10:27:26 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  179.  
  180.     * compiler/Statement.C: Eliminated some conditionally dead code.  For
  181.     example:  (false && x) --> false; (true || x) --> true;
  182.     (true ? x : y) --> x;  if (false) x else y; --> y;
  183.  
  184.     * compiler/Compiler.C: Removed empty <clinit> functions.
  185.  
  186. Sun Apr 21 15:07:26 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  187.  
  188.     * common/JavaCodeAttribute.C: Added source line info to disassembly.
  189.  
  190.     * compiler/CodeSequence.C: Rewrote code generation to use a more fluid
  191.     intermediate form.
  192.     Added line number information to compiler.
  193.  
  194. Thu Apr 18 12:34:06 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  195.  
  196.     * compiler/Compiler.C: Fix to allow multiple static initializer blocks.
  197.  
  198.     * compiler/Expression.C: Added unary promotion from char to int.  This
  199.     violates section 3.5 of the draft specification I have, but it seems
  200.     to be required for compatibility.
  201.  
  202.     * compiler/Expression.C: Fix for 'instanceof' parents.
  203.  
  204.     * compiler/parser.y: Fix for empty statement in constructors.
  205.  
  206.     * compiler/Statement.C: Fix for empty 'for' conditionals: for(;;);
  207.  
  208. Wed Apr 17 12:42:46 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  209.  
  210.     * Release 0.1.6
  211.  
  212.     * common/JavaConstant.C: Fix for writing out 4-byte float constants.
  213.  
  214.     * compiler/Statement.C: Fixed a bug in return/finally interaction.
  215.  
  216.     * compiler/Expression.C: Rewrote code for handling field expressions
  217.     to support access to non-static fields through ancestor class names.
  218.  
  219.     * compiler/Expression.C: Fix for negative long constant values.
  220.  
  221. Sun Apr 14 11:34:45 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  222.  
  223.     * compiler/Expression.C: Fix for invalid arguments to a constructor.
  224.  
  225. Sat Apr  6 09:54:59 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  226.  
  227.     * compiler/Expression.C: Fix for negative constant literal values.
  228.  
  229.     * compiler/Statement.C: Fix for empty statements after labels.
  230.  
  231. Thu Apr  4 15:30:38 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  232.  
  233.     * compiler/BinaryExpression.C: Fix to correctly handle expressions
  234.     like this:  stringValue += 2;
  235.  
  236.     * compiler/parser.y: Added an error for declaring a local variable that
  237.     is already declared in that scope.
  238.  
  239.     * compiler/lexer.l: Fix to translate '\f' correctly.
  240.  
  241.     * compiler/Compiler.C: Report an error for overriding a final method.
  242.     Report an error for overriding a method with a different return type.
  243.     Fix for a problem with imported class names not matching fully
  244.     qualified class names.
  245.  
  246. Wed Apr  3 12:56:20 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  247.  
  248.     * compiler/Compiler.C: Fix to automatically import all of your package.
  249.     Fix to correctly qualify interface names with their package.
  250.  
  251.     * compiler/Statement.C: Fixed a bug with empty 'then' bodies in an
  252.     'if' statement:  if (...) then ; else { ... }
  253.  
  254. Mon Apr  1 14:34:25 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  255.  
  256.     * compiler/Compiler.C: Fix to allow method declarations in interfaces.
  257.     Fix to prevent generation of default constructor for interfaces.
  258.  
  259.     * compiler/Expression.C: Fix to catch constant division by zero.
  260.  
  261. Fri Mar 29 08:57:54 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  262.  
  263.     * Release 0.1.5
  264.     * compiler/Expression.C: Checking use before set for local variables.
  265.  
  266.     * compiler/Statement.C: Fix to allow chained case labels in 'switch.'
  267.     Fix to allow += to work with String.
  268.  
  269.     * compiler/Compiler.C: Fix to allow casting of interfaces to
  270.     java.lang.Object
  271.  
  272.     * Added reachability propogation to determine whether code is
  273.     reachable.
  274.  
  275. Thu Mar 28 09:42:40 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  276.  
  277.     * compiler/Compiler.C: Fix to remove false dependancies on Throwable.
  278.  
  279. Mon Mar 25 13:24:41 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  280.  
  281.     * common/JavaClassFile.C: Fix for loading long constants.
  282.  
  283.     * compiler/lexer.l: Fix for long constants.
  284.  
  285. Sun Mar 24 12:43:19 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  286.  
  287.     * compiler/Expression.C: Fix to allow ordinal character comparisons.
  288.  
  289.     * common/JavaAccessFlags.C: Fixed the bytecode marking for 'abstract.'
  290.  
  291. Sat Mar 23 18:37:47 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  292.  
  293.     * compiler/Statement.C: Fix to flag return values from void methods.
  294.  
  295. Fri Mar 22 09:59:59 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  296.  
  297.     * compiler/BinaryExpression.C: Optimized string concatenation with '+'
  298.     to remove a temporary for chains.  ("a" + "b" + "c")
  299.  
  300.     * compiler/Expression.C: Fix to correctly report calls to non-existant
  301.     static method.
  302.  
  303.     * compiler/Compiler.C: Fix to correctly compile constructors on
  304.     java.lang.Object.
  305.     Fix to correctly report an error for empty non-abstract, non-native
  306.     method bodies.
  307.  
  308. Sat Mar 16 13:39:27 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  309.  
  310.     * compiler/CompilerMain.C: Fix so if you compile a file in a different
  311.     directory, the output .class files will go into that directory.
  312.  
  313.     * compiler/IntermediateClass.C: Added routine to find the name of the
  314.     class with the package information removed.
  315.  
  316.     * compiler/parser.y: Fix to correctly handle constructors in packaged
  317.     classes.
  318.  
  319. Thu Mar 14 15:47:21 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  320.  
  321.     * common/JavaClassFile.C: Fixed bug in the bytecode representation of
  322.     'double.'  Using autoconf to check byte order.
  323.  
  324. Wed Mar 13 10:27:49 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  325.  
  326.     * compiler/Compiler.C: Fixed bug resulting in premature termination
  327.     from the loop that looks for better matches to an overloaded method.
  328.     (bug found by Joachim Laier)
  329.  
  330. Fri Mar  8 09:40:16 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  331.  
  332.     * Version 0.1.4 finished
  333.     * compiler/Expression.C: Modified newarray to generate code for byte[]
  334.     whenever the source asks for a boolean[] because JDK thinks that the
  335.     boolean marker is invalid, in violation of their own VM spec sec. 3.6
  336.  
  337. Thu Mar  7 19:07:21 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  338.  
  339.     * common/unicode_string.h: Replaced unicode_string typedef with an
  340.     equivalent subclassing which should reduce the symbol length of any
  341.     template instantiation over unicode_string.
  342.  
  343. Mon Mar  4 15:57:51 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  344.  
  345.     * compiler/Compiler.C, Expression.C, etc.  Added constant folding which
  346.     should allow correct handling of 'case' labels and final fields.  Fixed
  347.     many miscellaneous bugs in the process, possibly introduced others.
  348.  
  349. Thu Feb 29 14:14:22 1996  David Engberg  <geppetto@allegory.eecs.com (David Engberg)>
  350.  
  351.     * compiler/parser.y: Fixed typo in error message. (Eric Raymond)
  352.  
  353. Sun Feb 18 15:34:52 1996  David Engberg  <geppetto@allegory.eecs.com>
  354.  
  355.     * compiler/Compiler.C: Fixed error reporting for constructors and
  356.     static initializers.
  357.  
  358.     * compiler/Expression.C: Pass line number information to expressions
  359.     created during later passes.
  360.  
  361.     * compiler/Expression.C, Compiler.C: Allow 'final' variable
  362.     initialization.
  363.  
  364. Sat Feb 10 10:28:16 1996  David Engberg  <geppetto@allegory.eecs.com>
  365.  
  366.     * common/FilePath.C: Added <sys/types.h> for FreeBSD.  (Jeffrey Hsu)
  367.  
  368. Wed Feb  7 09:31:17 1996  David Engberg  <geppetto@allegory.eecs.com>
  369.  
  370.     * Release 0.1.3
  371.  
  372.     * compiler/Makefile: Went through and wrote out the compile statement
  373.     for every file that needs to be compiled because some brain-dead
  374.     platforms can't figure out standard rule formats.
  375.  
  376.     * compiler/Expression.C, parser.y: Added support for multi-dimensioned
  377.     array allocation.  (e.g.  new int[6][5] )
  378.  
  379.     * compiler/parser.y: Reports a more intelligent error when users have
  380.     constructors with return values.
  381.     Don't output code after finding a parse error.
  382.     
  383.     * compiler/Compiler.C: Delay loading imported package files until they
  384.     are used.
  385.     Changed CCompiler::PopLocalScope to fix SGI/libg++ problem.
  386.     
  387. Thu Feb  1 21:09:59 1996  David Engberg  <geppetto@allegory.eecs.com>
  388.  
  389.     * Added reference counting to CJavaMethodInfo
  390.  
  391. Wed Jan 24 08:50:41 1996  David Engberg  <geppetto@allegory.eecs.com>
  392.  
  393.     * compiler/Compiler.C: fixed CCompiler::AssignableSubtype to correctly
  394.     identify array types as subtypes of Object.
  395.  
  396.     * compiler/lexer.l: Added support for '"' character literal.
  397.     Added partial support for quoted Unicode characters in string and
  398.     character literals.
  399.  
  400.     * compiler/parser.y: Added 'abstract' for class declarations.
  401.     Allowed for allocation expressions as statements.
  402.     Fixed order of array bounds and throw clause in method declaration.
  403.     Fixed cast to array types:  int i[] = (int[]) obj;
  404.     
  405. Tue Jan 23 10:58:44 1996  David Engberg  <geppetto@allegory.eecs.com>
  406.  
  407.     * compiler/Expression.C: Fixed stack size calculations for array
  408.     element assignment.
  409.  
  410.     * Makefile: Fixed 'make clean' to enter and clean subdirectories.
  411.     (Thomas Eirich <eir@zurich.ibm.com>)
  412.     
  413. Sun Jan 21 18:12:35 1996  David Engberg  <geppetto@allegory.eecs.com>
  414.  
  415.     * compiler/Expression.C:  Fixed bug in (a ? b : c) expressions.
  416.     Fixed it so that super.foo() is implemented as a non-virtual call.
  417.  
  418. Sat Jan 20 22:22:19 1996  David Engberg  <geppetto@allegory.eecs.com>
  419.  
  420.     * compiler/Expression.C: Added code so you could call static methods
  421.     on class instances.  This is a bad idea, imho, and not documented, but
  422.     the JDK demos rely on it.
  423.  
  424.     * compiler/Statement.C: Fix to allow empty 'for' body:  for(a;b;c);
  425.  
  426.     * compiler/Compiler.C: Changed order of field and method generation
  427.     so that classes in the same source file will be correctly qualified
  428.     when used within another class.
  429.  
  430.     * compiler/parser.y: Changed assignment operators to right association.
  431.     Moved some things around so it could parse a[0].foo() correctly.
  432.     
  433. Wed Jan 17 20:56:59 1996  David Engberg  <geppetto@allegory.eecs.com>
  434.  
  435.     * compiler/Expression.C:
  436.     Fixed bug in casting from 32-bit integral type to a different 32-bit
  437.     integral type.
  438.     Fixed bug preventing comparison of character to another character
  439.     value.
  440.  
  441.     * compiler/Expression.C: Added support for array pseudo-field 'length'
  442.  
  443.     * compiler/CompilerInstantiations3.C: Initial revision
  444.  
  445. Sun Jan 14 03:28:17 1996  David Engberg  <geppetto@allegory.eecs.com>
  446.  
  447.     * compiler/CompilerInstantiations2.C:
  448.     Added instantiations for buggy gcc platforms (0.1.1 release.)
  449.  
  450.     * compiler/CompilerInstantiations.C:
  451.     Added instantiations for buggy gcc platforms. (0.1.1 release)
  452.  
  453. Sat Jan 13 18:41:14 1996  David Engberg  <geppetto@allegory.eecs.com>
  454.  
  455.         Version 0.1.1 released.
  456.     * compiler/CompilerInstantiations.C: Added instantiations for other
  457.     platforms that have different instantiation behavior under gcc than
  458.     linux does.
  459.  
  460. Thu Jan 11 10:42:27 1996  David Engberg  <geppetto@allegory.eecs.com>
  461.  
  462.     * Statement.C, Compiler.C: Replaced <limits.h> with C++ std <climits>
  463.  
  464. Wed Jan 10 08:43:53 1996  David Engberg  <geppetto@allegory.eecs.com>
  465.  
  466.     * common/JavaClassFile.C: Added sys/types.h for Sun4  (Masayuki Ida)
  467.  
  468. Wed Jan 9 10:23:12 1996  David Engberg  <geppetto@allegory.eecs.com>
  469.  
  470.     * Reorganized the source tree to put code in subdirectories
  471.